package com.sketch.commom;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.List;

/**
 * @Author: Lukizzz
 * @Date: 2019/6/10 15:28
 * @Description:
 */
@Data
@ApiModel(description = "分页")
public class PageResult<T> {
    @ApiModelProperty(value = "返回数据")
    private List<T> list;

    private Long total;
    private Integer size;
    private Integer current;
}
